package com.citycloud.ccuap.tc.oauth2.service;


import java.util.List;

import com.citycloud.ccuap.commons.sys.entity.SysUser;
import com.citycloud.ccuap.tc.common.dto.DataCSecurityBasicUser;
import com.citycloud.ccuap.tc.oauth2.dto.DetailedUserInfo;

public interface UserService {
    default SysUser getByUsername(String username) {
        return null;
    }

    boolean isPlatformManager(Long userId);

    SysUser getByUserId(Long userId);

    DetailedUserInfo getDetailedUserInfo(DetailedUserInfo user);

    List<SysUser> findByUserNoAndStatus(String userNo,Integer status);

    void changPwd(DataCSecurityBasicUser user, String oldPwd, String newPwd);


}
